package com.zhiying.zfb;

import android.os.Parcel;
import android.os.Parcelable;
import android.util.Log;

public class ZfbInfo implements Parcelable{

	public int id;
	
	public String riqi;
	
	public String benjin;
	
	public String jinglirun;
	
	public String bianxianlilv;
	
	public String shengyutianshu;
	
	public String yuqililv;
	
	public String kebianxian;
	
	public String zongtianshu;
	
	public String gudinglilv;
	
	public String bianxianshouxufei;
	
	public String yingfulixi;
	
	public String shijidaozhangjine;
	
	public String bianxianhoushouyi;
	
	public String bubianxianshouyi;
	
	public void setId(int id) {
		this.id = id;
	}
	
	public void setRiqi(String riqi) {
		this.riqi = riqi;
	}
	
	public void setBenjin(String benjin) {
		this.benjin = benjin;
	}
	
	public void setJinglirun(String jinglirun) {
		this.jinglirun = jinglirun;
	}
	
	public void setShengyutianshu(String shengyutianshu) {
		this.shengyutianshu = shengyutianshu;
	}
	
	public void setYuqililv(String yuqililv) {
		this.yuqililv = yuqililv;
	}
	
	public void setBianxianlilv(String bianxianlilv) {
		this.bianxianlilv = bianxianlilv;
	}
	
	public void setKebianxian(String kebianxian) {
		this.kebianxian = kebianxian;
	}
	
	public int getId() {
		return id;
	}
	
	public String getRiqi() {
		return riqi;
	}
	
	public String getBenjin() {
		return benjin;
	}
	
	public String getJinglirun() {
		return jinglirun;
	}
	
	public String getShengyutianshu() {
		return shengyutianshu;
	}
	
	public String getYuqililv() {
		return yuqililv;
	}
	
	public String getBianxianlilv() {
		return bianxianlilv;
	}
	
	public String getKebianxian() {
		return kebianxian;
	}

	public static final Parcelable.Creator<ZfbInfo> CREATOR = new Creator<ZfbInfo>() {

		@Override
		public ZfbInfo createFromParcel(Parcel source) {
			ZfbInfo zfbInfo = new ZfbInfo();
			zfbInfo.id = source.readInt();
			zfbInfo.riqi = source.readString();
			zfbInfo.benjin = source.readString();
			zfbInfo.jinglirun = source.readString();
			zfbInfo.shengyutianshu = source.readString();
			zfbInfo.yuqililv = source.readString();
			zfbInfo.bianxianlilv = source.readString();
			zfbInfo.kebianxian = source.readString();
			zfbInfo.zongtianshu = source.readString();
			zfbInfo.gudinglilv = source.readString();
			zfbInfo.bianxianshouxufei = source.readString();
			zfbInfo.yingfulixi = source.readString();
			zfbInfo.shijidaozhangjine = source.readString();
			zfbInfo.bianxianhoushouyi = source.readString();
			zfbInfo.bubianxianshouyi = source.readString();
			return zfbInfo;
		}

		@Override
		public ZfbInfo[] newArray(int size) {
			// TODO Auto-generated method stub
			return new ZfbInfo[size];
		}
		
	};
	
	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeInt(id);
		dest.writeString(riqi);
		dest.writeString(benjin);
		dest.writeString(jinglirun);
		dest.writeString(shengyutianshu);
		dest.writeString(yuqililv);
		dest.writeString(bianxianlilv);
		dest.writeString(kebianxian);
		dest.writeString(zongtianshu);
		dest.writeString(gudinglilv);
		dest.writeString(bianxianshouxufei);
		dest.writeString(yingfulixi);
		dest.writeString(shijidaozhangjine);
		dest.writeString(bianxianhoushouyi);
		dest.writeString(bubianxianshouyi);
	}
}
